<?php
    global $wpdb;
    $user = $wpdb->get_row("SELECT * FROM ap_painting_user WHERE user_id = {$_GET['xid']}");
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="vi" xml:lang="vi">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
        <meta charset="<?php bloginfo('charset'); ?>" />
        <!-- add meta for page -->
        <meta name="robots" content="INDEX,FOLLOW" />
        <meta name="description" content="Creamo Kid"/>
        <meta name="keywords" content="Creamo Kid" />	
        <meta property="og:type"                 content="image/png"/>
        <meta property="og:url"                  content="<?php echo site_url() ?>/fbshare/?img=<?php echo $_GET['img'] ?>&xid=<?php echo $_GET['xid']?>"/>
        <meta property="og:image"                content="<?php echo $_GET['img'] ?>"/>            
        <meta property="og:title"                content="Họa Sĩ Nhí Tài Năng"/>
        <meta property="og:description"          content="<?php echo $user->name ?> | Tham gia cùng Cream-O để có cơ hội nhận thật nhiều quà tặng nào!"/>
        <!-- end meta for page -->

        <title> <?php wp_title('|', true, 'right'); ?></title>

    </head>
    
    <body>
       <center> <img src="<?php echo $_GET['img'] ?>" /></center>
	 
    </body>
</html>